//
//  AppDelegate.h
//  ViewSwapper
//
//  Created by Russell Newlands on 14/02/2012.
//  Copyright (c) 2012 Jominy Research. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class JOSplitViewDelegate;

@interface AppDelegate : NSObject <NSApplicationDelegate>
{
	JOSplitViewDelegate *firstVertSVDelegate;
}

@property (assign) IBOutlet NSWindow *window;

@property (weak) IBOutlet NSView *outlineViewPlaceholder;
@property (weak) IBOutlet NSSplitView *firstVertSV;

@property (weak) IBOutlet NSSplitView *horizontalSV;
@property (weak) IBOutlet NSView *pupilDetailViewPlaceholder;

@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;

- (IBAction)saveAction:(id)sender;

@end
